/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpe.cin.dsoa.visualvm.domain;

/**
 *
 * @author rafael.lima
 */
public class Window {
    
	public static final String TIME_WINDOW = "time";
	public static final String PACKAGE_WINDOW = "package";
	
	private String type;
	private double size;
	private String unit;
	
	
	public Window(String type, double size, String unit) {
		super();
		this.type = type;
		this.size = size;
		this.unit = unit;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public double getSize() {
		return size;
	}
	public void setSize(double size) {
		this.size = size;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public static String getTimeWindow() {
		return TIME_WINDOW;
	}
	public static String getPackageWindow() {
		return PACKAGE_WINDOW;
	}
	
	
}
